#include "S_api_Struct.h"

#include <stdlib.h>

S_api_BufferDesc::S_api_BufferDesc()
{
	ByteWidth = 0;
	Usage = E_api_Usage_Default;
	BindFlags = E_api_Bind_Vertex_Buffer;
	CPUAccessFlags = (E_api_Cpu_Access_Flag) 0;
	MiscFlags = (E_api_Resource_Misc_Flag) 0;
}

S_api_Subresource_Data::S_api_Subresource_Data()
{
	pSysMem = NULL;
	SysMemPitch = 0;
	SysMemSlicePitch = 0;
}

S_api_Shader_Macro::S_api_Shader_Macro()
{
	Name = NULL;
	Definition = NULL;
}

S_api_Input_Element_Desc::S_api_Input_Element_Desc()
{
	SemanticName = "";
	SemanticIndex = 0;
	Format = E_api_Format_unknown;
	InputSlot = 0;
	AlignedByteOffset = 0;
	InputSlotClass = E_api_Input_Per_Instance_Data;
	InstanceDataStepRate = 0;
}